<%@ page pageEncoding="utf-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="basePath"  value="${pageContext.request.contextPath}"/>
<!-- 导航侧栏 -->
<%--<% Admin leftAdminName= (Admin) session.getAttribute("USER_LOGIN"); %>--%>
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="${basePath}/AdminLTEdemo01/img/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
<%--                <p><% Admin a= (Admin) session.getAttribute("USER_LOGIN"); out.print(a.getUsername());%></p>--%>
<%--                <p><%=leftAdminName.getUsername()%></p>--%>
                <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
            </div>
        </div>
        <!-- search form -->
        <!--<form action="#" method="get" class="sidebar-form">
    <div class="input-group">
        <input type="text" name="q" class="form-control" placeholder="搜索...">
        <span class="input-group-btn">
        <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
        </button>
      </span>
    </div>
</form>-->
        <!-- /.search form -->


        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">菜单</li>

            <li id="admin-index"><a href="${basePath}/AdminLTEdemo01/index.jsp"><i class="fa fa-bank"></i> <span>首页</span></a></li>

            <!-- 菜单 -->
            <!-- 学生侧栏 -->
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-male"></i> <span>学生信息管理</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">

                    <li id="addStu">
                        <a href="${basePath}/AdminLTEdemo01/s_student/s_studentAdd.html">
                            <i class="fa fa-circle-o"></i> 增加学生信息
                        </a>
                    </li>

                    <li id="stuInfo">
                        <a href="${basePath}/AdminLTEdemo01/s_student/s_studentInfo.html">
                            <i class="fa fa-circle-o"></i> 查看学生信息
                        </a>
                    </li>
                </ul>
            </li>

            <!-- 年级侧栏 -->
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-folder"></i> <span>年级信息管理</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">

                    <li id="addGrade">
                        <a href="${basePath}/AdminLTEdemo01/s_grade/s_gradeAdd.jsp">
                            <i class="fa fa-circle-o"></i> 增加年级信息
                        </a>
                    </li>
                    <li id="infoGrade">
                        <a href="${basePath}/AdminLTEdemo01/s_grade/s_gradeInfo.jsp">
                            <i class="fa fa-circle-o"></i> 查看年级信息
                        </a>
                    </li>


                </ul>
            </li>

            <!-- 课程侧栏 -->
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-calendar"></i> <span>课程信息管理</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">

                    <li id="addSub">
                        <a href="${basePath}/AdminLTEdemo01/s_subject/s_subjectAdd.jsp">
                            <i class="fa fa-circle-o"></i> 增加课程信息
                        </a>
                    </li>

                    <li id="infoSub">
                        <a href="${basePath}/AdminLTEdemo01/s_subject/s_subjectInfo.jsp">
                            <i class="fa fa-circle-o"></i> 查看课程信息
                        </a>
                    </li>


                </ul>
            </li>

            <!-- 成绩侧栏 -->
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-pencil"></i> <span>成绩信息管理</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">

                    <li id="addScore">
                        <a href="#">
                            <i class="fa fa-circle-o"></i> 增加成绩信息
                        </a>
                    </li>
                    <li id="infoScore">
                        <a href="#">
                            <i class="fa fa-circle-o"></i> 查看成绩信息
                        </a>
                    </li>


                </ul>
            </li>




            <!-- 菜单 /-->

            <li id="admin-documentation"><a href="#" target="_blank"><i class="fa fa-book"></i>
                <span>学生系统帮助文档</span></a></li>

        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
<!-- 导航侧栏 /-->